package cn.ywang.pattern.factory.abstractfactory;

import cn.ywang.pattern.factory.products.bangle.GoldBangle;
import cn.ywang.pattern.factory.products.bangle.IBangle;
import cn.ywang.pattern.factory.products.ring.GoldRing;
import cn.ywang.pattern.factory.products.ring.IRing;

/**
 * 黄金首饰工厂
 *
 * @author BeatificWang
 * @date 2019/3/10 12:31
 */
public class GoldFactory implements IFactory {
	@Override
	public IRing createRing() {
		return new GoldRing();
	}

	@Override
	public IBangle createBangle() {
		return new GoldBangle();
	}
}
